package com.heiye.auth.service;

import com.heiye.auth.model.vo.verificationcode.SendEmailVerificationCodeReqVO;
import com.heiye.auth.model.vo.verificationcode.SendPhoneVerificationCodeReqVO;
import com.heiye.framework.common.response.Response;

/**
 * @Author: heiye
 * @CreateTime: 2024/09/14 下午12:12
 * @Description: 验证码接口
 * @Version: 1.0
 */
public interface VerifyCodeService {
    /**
     * 发送手机短信验证码
     *
     * @param sendPhoneVerificationCodeReqVO
     * @return
     */
    Response<?> sendPhoneVerificationCode(SendPhoneVerificationCodeReqVO sendPhoneVerificationCodeReqVO);

    /**
     * 发送邮件验证码
     *
     * @param sendEmailVerificationCodeReqVO
     * @return
     */
    Response<?> sendEmailVerificationCode(SendEmailVerificationCodeReqVO sendEmailVerificationCodeReqVO);
}
